home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 351-375 / 351 / pdc / bin.lzh / include / limits.h < prev    next >
Text File  |  1990-04-06  |  1KB  |  40 lines

  1. /*
  2.  * Libraries and headers for PDC release 3.3 (C) 1989 Lionel Hummel.
  3.  * PDC Software Distribution (C) 1989 Lionel Hummel and Paul Petersen.
  4.  *
  5.  * This code is freely redistributable upon the conditions that this 
  6.  * notice remains intact and that modified versions of this file not
  7.  * be included as part of the PDC Software Distribution without the
  8.  * express consent of the copyright holders.  No warrantee of any
  9.  * kind is provided with this code.  For further information, contact:
  10.  *
  11.  *  PDC Software Distribution    Internet:                     BIX:
  12.  *  P.O. Box 4006             or hummel@cs.uiuc.edu            lhummel
  13.  *  Urbana, IL  61801-8801       petersen@uicsrd.csrd.uiuc.edu
  14.  */
  15.  
  16. /*  limits.h - ANSI-compatible numerical limits (dpANSI 2.2.4.2)
  17.  */
  18.  
  19. #define    BITSPERBYTE    8
  20. #define    CHAR_BIT    BITSPERBYTE
  21. #define    SCHAR_MIN    (-128)
  22. #define    SCHAR_MAX    (127)
  23. #define    UCHAR_MAX    (~((unsigned char) 0))
  24. #define    CHAR_MIN    SCHAR_MIN
  25. #define    CHAR_MAX    SCHAR_MAX
  26. #define MB_LEN_MAX    1
  27. #define    SHRT_MIN    (-32768)
  28. #define    SHRT_MAX    (32767)
  29. #define    USHRT_MAX    (~((unsigned short) 0))
  30. #define    INT_MIN        (-2147483648)
  31. #define    INT_MAX        (2147483647)
  32. #define    UINT_MAX    (~((unsigned int) 0))
  33. #define    LONG_MIN    INT_MIN
  34. #define    LONG_MAX    INT_MAX
  35. #define    ULONG_MAX    (~((unsigned long) 0))
  36.  
  37. #define    PATHSIZE    (1024L)
  38. #define    MAXPATH        PATHSIZE
  39. #define MAXSTRING    (1024L)
  40.